@import url('@src/total.less');
.container {
  display: inline-block;
}
.block {
  position: relative;

  display: inline-block;
  overflow: hidden;
  overflow: hidden;

  width: 120px !important;
  height: 82px;
  padding: 0 !important;

  cursor: pointer;
  &.front {
    background-image: url('~@imgs/front.jpeg');
    background-size: 100% 100%;
  }
  &.back {
    background-image: url('~@imgs/back.png');
    background-size: 100% 100%;
  }
  &.disabled {
    cursor: no-drop;
  }
}
.plus {
  font-size: @font-size-base;

  position: absolute;
  top: 50%;
  left: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;

  content: '+';

  color: #fff;
  border-radius: 50%;
  background-color: @primary-color;;
}
.file-input {
  position: absolute;
  top: -100px;
  left: 0;

  width: 1px;
  height: 1px;
}
.pic {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;

  border: 1px dashed @border-color-base;
  border-radius: @border-radius-base;
  background-color: #fff;
}
.title {
  line-height: 24px;

  text-align: center;

  color: @text-color;
}
.delBtn {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;

  width: 20px;
  height: 20px;

  border-radius: 50%;
  background-color: #fff;
  background-image: url('~@imgs/false.png');
  background-size: 100%;
  cursor: pointer;
}